home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 12194 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: christoph.ol.sub.de!news
  2. From: andi@christoph.ol.sub.de (Andreas Christoph)
  3. Newsgroups: comp.os.linux.misc,comp.lang.c++,gnu.gcc.help
  4. Subject: Re: Help: how do you redirect compile error to a file
  5. Date: 18 Mar 1996 12:40:22 GMT
  6. Organization: private
  7. Message-ID: <4ijljm$7rb@christoph.ol.sub.de>
  8. References: <4igdeo$8tf@news.jhu.edu>
  9. NNTP-Posting-Host: christoph.ol.sub.de
  10. X-Newsreader: knews 0.9.3
  11. In-Reply-To: <4igdeo$8tf@news.jhu.edu>
  12. To: yuehong@psi.ece.jhu.edu (yuehong)
  13.  
  14. In article <4igdeo$8tf@news.jhu.edu>,
  15.     yuehong@psi.ece.jhu.edu (yuehong) writes:
  16. >I try to use the following command when I compile hello.cpp 
  17. >using gcc on linux:
  18. >
  19. >g++ hello.cpp >bug
  20. >
  21. >I thought error might be saved in bug. But, nothing there.
  22.  
  23. Errors are reported to standard error (descriptor 2), so make it
  24. g++ hello.cpp 2>bug
  25.  
  26. Bye,
  27. Andreas
  28.  
  29. -- 
  30. --------------------------------------------------------------------
  31. Andreas Christoph
  32. Alexanderstr. 292
  33. 26127 Oldenburg
  34. --------------------------------------------------------------------
  35.  
  36.